home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 February / macformat-034.iso / mac / Shareware City / Developers / appe Windows 2.03 / sample win.h < prev   
Encoding:
Text File  |  1995-12-05  |  1.1 KB  |  35 lines  |  [TEXT/CWIE]

  1. // File "sample win.h" - 
  2.  
  3. #ifndef ____SAMPLE_WIN_HEADER____
  4. #define ____SAMPLE_WIN_HEADER____
  5.  
  6. #ifndef __DRAG__
  7. #include <Drag.h>
  8. #endif  __DRAG__
  9.  
  10. // * ****************************************************************************** *
  11. // * ****************************************************************************** *
  12.  
  13. // By suggestion, I have separated the Fat WDEF into 2 parts to lower 
  14. //   the memory footprint of the FBA.
  15.  
  16. #if !GENERATINGPOWERPC
  17. #define kWDEFProcID        2048  /* 68K Infinity Windoid - 128 * 16 */
  18. #else 
  19. #define kWDEFProcID        2064  /* PPC Infinity Windoid - 129 * 16 */
  20. #endif
  21.  
  22. // * ****************************************************************************** *
  23. // * ****************************************************************************** *
  24. // Function Prototypes
  25.  
  26. WindowPtr NewSampleWindow(void);
  27. void DisposeSampleWindow(WindowPtr win);
  28. void SampleWindowEventHandler(EventRecord *theEvent, WindowPtr win);
  29.  
  30. void SetSampleWindowText(WindowPtr win, StringPtr winText);
  31. StringPtr GetSampleWindowText(WindowPtr win);
  32.  
  33. #endif  ____SAMPLE_WIN_HEADER____
  34.  
  35.